package net.zjitc.service.impl;

import net.zjitc.User;
import net.zjitc.dao.UserDao;
import net.zjitc.dao.impl.UserDaoImpl;
import net.zjitc.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("userService")
public class UserServiceImpl implements UserService {

    @Resource(name = "userDao")
    private UserDao userDao ;
    @Override
    public User findUser() {
        return userDao.findUser();
    }
}
